package com.mf.entity.req.search;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mf.entity.req.publicReq.PublicPagingReq;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Author: lmf
 * @Create: 2025/3/8 22:32
 * Description:  任务查询参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TaskSearchReq extends PublicPagingReq {
    @Schema(description = "关键字:任务名称,备注")
    private String key;

    @Schema(description = "父级id")
    private Integer pid;

    @Schema(description = "是否穿透查询")
    private Boolean isPenetrate = false;

    @Schema(description = "负责人id")
    private Integer principalId;

    @Schema(description = "执行人id")
    private Integer executorId;

    @Schema(description = "计划开始时间")
    private LocalDateTime planStartTime;

    @Schema(description = "计划结束时间")
    private LocalDateTime planEndTime;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "状态")
    private Integer status;


}
